﻿using GroupMeal.Foods;
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Activities
{
    public class TasteFresh :Entity<Guid>,IMultiTenant
    {
        /// <summary>
        /// 租户ID
        /// </summary>
        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 活动ID
        /// </summary>
        public virtual Guid ActivityId
        {
            get;set;
        }

        /// <summary>
        /// 所属活动
        /// </summary>
        public virtual Activity Activity
        {
            get;set;
        }

        /// <summary>
        /// 折扣率
        /// </summary>
        public virtual float Discount
        {
            get;set;
        }

        /// <summary>
        /// 折扣菜品
        /// </summary>
        public virtual List<MerchantFood>? Foods
        {
            get;set;
        }
    }
}
